﻿

using System.Data.Entity.ModelConfiguration;
using ProjetoComperio.DataLayer.Entities;

namespace ProjetoComperio.DataLayer.Configuration
{
    public class EducationalTApplicationConfiguration : EntityConfiguration<EducationalITApplication>
    {
        public EducationalTApplicationConfiguration()
        {
            Property(a => a.ContributionID).IsIdentity();
            MapHierarchy(
              a => new

              {
                  a.ContributionID,
                  a.AdditionalInfo,
              }
        ).ToTable("EducationalITApplication");
        }
    }
}
